package com.zhiyou.app.shop.manager.dao.pojo;

import java.io.File;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Shop entity. @author MyEclipse Persistence Tools
 */

public class Shop  extends BasePojo {

	// Fields

	private UserDetail userDetail;
	private String name;
	private String telephone;
	private String address;
	private String imgPath;
	private Integer orderNumber;
	private String remark;
	private Date createDate;
	private Boolean isDelete = Boolean.FALSE;
	private Set goodses = new HashSet(0);

	//view层调用
	private File shopImg;
	private String shopImgFileName;
	private String shopImgContentType;
	// Constructors

	/** default constructor */
	public Shop() {
	}

	
	/** minimal constructor */
	public Shop(UserDetail userDetail, String name, String address,
			String imgPath,Integer orderNumber) {
		this.userDetail = userDetail;
		this.name = name;
		this.address = address;
		this.imgPath = imgPath;
		this.orderNumber = orderNumber;
	}

	/** full constructor */
	public Shop(UserDetail userDetail, String name, String telephone,
			String address, String imgPath, String remark,Integer orderNumber,
			Date createDate,Set goodses) {
		this.userDetail = userDetail;
		this.name = name;
		this.telephone = telephone;
		this.address = address;
		this.imgPath = imgPath;
		this.remark = remark;
		this.orderNumber = orderNumber;
		this.createDate = createDate;
		this.goodses = goodses;
	}

	// Property accessors

	public Shop(String shopId) {
		super(shopId);
	}

	public UserDetail getUserDetail() {
		return this.userDetail;
	}

	public void setUserDetail(UserDetail userDetail) {
		this.userDetail = userDetail;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return this.createDate;
	}
	
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Boolean getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Boolean isDelete) {
		this.isDelete = isDelete;
	}

	public Set getGoodses() {
		return this.goodses;
	}

	public void setGoodses(Set goodses) {
		this.goodses = goodses;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}
	
	public Integer getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(Integer orderNumber) {
		this.orderNumber = orderNumber;
	}

	public File getShopImg() {
		return shopImg;
	}

	public void setShopImg(File shopImg) {
		this.shopImg = shopImg;
	}

	public String getShopImgFileName() {
		return shopImgFileName;
	}

	public void setShopImgFileName(String shopImgFileName) {
		this.shopImgFileName = shopImgFileName;
	}

	public String getShopImgContentType() {
		return shopImgContentType;
	}

	public void setShopImgContentType(String shopImgContentType) {
		this.shopImgContentType = shopImgContentType;
	}

}